//
//  CommonModel.swift
//  SevenAISDK
//
//  Created by 七块 on 2025/7/2.
//

import Foundation


struct NoDataModel: Codable {
    var code: Int = 0
    var message: String = ""
}

struct BaseModel<T: Codable>: Codable {
    var code: Int = 0
    var message: String = ""
    var data: T?
}
struct JwtModel: Codable {
    var code: Int = 0
    var message: String = ""
    var data: String? = nil
}

struct LoginModel: Codable {
    var code: Int = 0
    var message: String = ""
    var data: String? = nil
}
struct SdkInfoVo:Codable {
    var code: Int = 0
    var message: String = ""
    var data: CurrencyModel?
}
struct CurrencyModel: Codable {
    var coinCurrency: String = ""
    var coinIcon: String = ""
    var coinRate: Double = 0
    var channel: String = ""
}
struct MiniProgramProperties:Codable {
    var defaultImg:String = ""
    var showDefaultImg:Bool = false
    var aiBoxScriptCreationPayEnabled:Bool = false
    var aiBoxScriptChatPayEnabled:Bool = false
    var coinPrice:String = ""
    var createVoicePrice:Int = 0
    var aiBoxScriptEnergyPrice:Int = 0
    var defaultAiBoxScriptId:String = ""
}
















